package xyz.renyumeng.xkm.pay;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author renyumeng
 * @date Created in 9:54 2023/6/30
 */


@EnableSwagger2
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "xyz.renyumeng")
@SpringBootApplication(
        exclude = DataSourceAutoConfiguration.class,
        scanBasePackages = {
                "xyz.renyumeng.xkm.pay",
                "xyz.renyumeng.xkm.config.json",
                "xyz.renyumeng.xkm.exception",
        }
)
public class ServicePayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServicePayApplication.class, args);
    }
}
